package cn.zhangbo.dao.po;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.OneToMany;

import org.springframework.stereotype.Component;

import lombok.Getter;
import lombok.Setter;

/**
 * 课程.
 *
 * @author zhangbo
 * @since 1.0.0
 */
@Entity
@Component
@Setter
@Getter
public class Course {
    private String name;// 课程名称
    private float scoreTotal;// 总成绩
    private float acadamicCreditTotal;// 总学分
    private Integer acadamicHour;// 总课时
    @OneToMany
    private Teacher teacher;
    private Date startDatetime;
    private Date endDatetime;
}
